package com.wondertek.service.sdk.iotdh.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class SubscribeDatasDhReq {
    @NotEmpty
    @Schema(name = "subscribeType",description = "订阅类型 1-告警 2-设备")
    private List<Integer> subscribeType;
    //回调地址 该接⼝需要返回⼀个http 200
    //状态，返回内容可以为任意内容
    @NotBlank
    @Schema(name = "callBackUrl",description = "回调地址")
    private String callBackUrl;
    //要订阅的组织集合
    @Schema(name = "subOrgs",description = "要订阅的组织集合")
    private List<String> subOrgs;
    //要订阅的设备集合 不填默认全部设备
    @Schema(name = "subDeviceIds",description = "要订阅的设备集合 不填默认全部设备")
    private List<String> subDeviceIds;

}
